<template>
  <div>
  </div>
</template>

<script>
  export default {
    data () {
      return {
        menu_text: '最新政策'
      }
    },
    watch: {
      '$route' (to, from) {
        to.path === '/news/b' ? this.menu_text = '乐政要闻' : this.menu_text = '最新政策'
        if (to.path === '/news/a' || to.path === '/news') this.$router.replace('/news/a')
      }
    },
    mounted () {
      this.$router.replace('/news/a')
    }
  }
</script>